﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using GONES.IBLL;

public partial class Console_System_Navs_NavAdd : CPage
{
    public string ParentId { get; set; }
    public string ParentTitle { get; set; }
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            string parentid = "";
            parentid = Request.QueryString["PID"].ToString();
            var navManager = AppContext.GetObject("S_NavManager") as IS_NavManager;
            GONES.Model.S_Nav nav = navManager.Get(parentid);
            ParentId = parentid;
            ParentTitle = nav.Title;
        }
    }
}